import Vue from 'vue'
import Router from 'vue-router'
import login from '@/components/login'
import home from '@/components/home'
// import aaa from '@/components/aaa'
// import echarts from '@/components/echarts'
// import echarts1 from '@/components/echarts1.vue'
// import echarts2 from '@/components/echarts2'
import iviewCard from '@/components/iviewCard.vue'
import test from '@/components/test.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/home',
      name: 'home',
      component: home
    },
    {
      path: '/iviewCard',
      name: 'iviewCard',
      component: iviewCard
    },
    {
      path: '/test',
      name: 'test',
      component: test
    }
    // {
    //   path: '/aaa',
    //   name: 'aaa',
    //   component: aaa
    // },
    // {
    //   path: '/echarts',
    //   name: 'echarts',
    //   component: echarts
    // },
    // {
    //   path: '/echarts1',
    //   name: 'echarts1',
    //   component: echarts1
    // },
    // {
    //   path: '/echarts2',
    //   name: 'echarts2',
    //   component: echarts2
    // }
  ]
})
